package com.auxgroup.hr.front.dao.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.auxgroup.hr.front.dao.domain.Psoprdefn;

/**
 * @author lv-PC
 *
 */
@Repository
public interface PsoprdefnRepository extends
JpaRepository<Psoprdefn,String>,JpaSpecificationExecutor<Psoprdefn> {
	
	@Query(" from Psoprdefn where oprid=:oprid")
	public Psoprdefn getUserByOprid(@Param("oprid") String oprid);
}